﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DE3 RID: 3555
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReEnterLastElementStageCsReq : IMessage<ReEnterLastElementStageCsReq>, IMessage, IEquatable<ReEnterLastElementStageCsReq>, IDeepCloneable<ReEnterLastElementStageCsReq>, IBufferMessage
	{
		// Token: 0x17002D16 RID: 11542
		// (get) Token: 0x06009F71 RID: 40817 RVA: 0x001AA168 File Offset: 0x001A8368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReEnterLastElementStageCsReq> Parser
		{
			get
			{
				return ReEnterLastElementStageCsReq._parser;
			}
		}

		// Token: 0x17002D17 RID: 11543
		// (get) Token: 0x06009F72 RID: 40818 RVA: 0x001AA16F File Offset: 0x001A836F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReEnterLastElementStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002D18 RID: 11544
		// (get) Token: 0x06009F73 RID: 40819 RVA: 0x001AA181 File Offset: 0x001A8381
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReEnterLastElementStageCsReq.Descriptor;
			}
		}

		// Token: 0x06009F74 RID: 40820 RVA: 0x001AA188 File Offset: 0x001A8388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReEnterLastElementStageCsReq()
		{
		}

		// Token: 0x06009F75 RID: 40821 RVA: 0x001AA190 File Offset: 0x001A8390
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReEnterLastElementStageCsReq(ReEnterLastElementStageCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009F76 RID: 40822 RVA: 0x001AA1B5 File Offset: 0x001A83B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReEnterLastElementStageCsReq Clone()
		{
			return new ReEnterLastElementStageCsReq(this);
		}

		// Token: 0x17002D19 RID: 11545
		// (get) Token: 0x06009F77 RID: 40823 RVA: 0x001AA1BD File Offset: 0x001A83BD
		// (set) Token: 0x06009F78 RID: 40824 RVA: 0x001AA1C5 File Offset: 0x001A83C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x06009F79 RID: 40825 RVA: 0x001AA1CE File Offset: 0x001A83CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReEnterLastElementStageCsReq);
		}

		// Token: 0x06009F7A RID: 40826 RVA: 0x001AA1DC File Offset: 0x001A83DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReEnterLastElementStageCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009F7B RID: 40827 RVA: 0x001AA20C File Offset: 0x001A840C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009F7C RID: 40828 RVA: 0x001AA24B File Offset: 0x001A844B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009F7D RID: 40829 RVA: 0x001AA253 File Offset: 0x001A8453
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009F7E RID: 40830 RVA: 0x001AA25C File Offset: 0x001A845C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009F7F RID: 40831 RVA: 0x001AA290 File Offset: 0x001A8490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009F80 RID: 40832 RVA: 0x001AA2CE File Offset: 0x001A84CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReEnterLastElementStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009F81 RID: 40833 RVA: 0x001AA2FF File Offset: 0x001A84FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009F82 RID: 40834 RVA: 0x001AA308 File Offset: 0x001A8508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003D77 RID: 15735
		private static readonly MessageParser<ReEnterLastElementStageCsReq> _parser = new MessageParser<ReEnterLastElementStageCsReq>(() => new ReEnterLastElementStageCsReq());

		// Token: 0x04003D78 RID: 15736
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003D79 RID: 15737
		public const int StageIdFieldNumber = 2;

		// Token: 0x04003D7A RID: 15738
		private uint stageId_;
	}
}
